import { createStore } from 'vuex'
interface State{
  count:number
}
const store = createStore({
  state() {
    return {
      count: 999
    }
  },
  mutations:{
    increment(state:State){
      state.count++
    }
  }
})
export default store
